package com.cars.phoenix.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cars.phoenix.entity.Student;
import com.cars.phoenix.mapper.StudentMapper;
import com.cars.phoenix.service.StudentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName: StudentServiceImpl
 * @Description: 学生-业务实现层
 * @author: caoqianfan
 * @date: 2023/9/15 15:53
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {
    @Resource
    private StudentMapper studentMapper;

    public void upsert(Student student) {
        studentMapper.upsert(student);
    }
}
